package com.lqq.controller;

import com.lqq.util.JsonResult;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author lqq
 * @date 2018/12/6
 */
@RestController
@RequestMapping("/user")
public class UserController {

    @ApiOperation(value="创建用户", notes="根据User对象创建用户")
    @RequestMapping(value = "/helloWorld",method = RequestMethod.POST)
    public JsonResult createUser(){

        return new JsonResult();
    }
}
